Optimal. Leaf size=47 \[ \frac {2 \sqrt {b x^{2/3}+a x}}{a}-\frac {4 b \sqrt {b x^{2/3}+a x}}{a^2 \sqrt [3]{x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2027, 2039}
\begin {gather*} \frac {2 \sqrt {a x+b x^{2/3}}}{a}-\frac {4 b \sqrt {a x+b x^{2/3}}}{a^2 \sqrt [3]{x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2027
Rule 2039
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {b x^{2/3}+a x}} \, dx &=\frac {2 \sqrt {b x^{2/3}+a x}}{a}-\frac {(2 b) \int \frac {1}{\sqrt [3]{x} \sqrt {b x^{2/3}+a x}} \, dx}{3 a}\\ &=\frac {2 \sqrt {b x^{2/3}+a x}}{a}-\frac {4 b \sqrt {b x^{2/3}+a x}}{a^2 \sqrt [3]{x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 36, normalized size = 0.77 \begin {gather*} \frac {2 \left (-2 b+a \sqrt [3]{x}\right ) \sqrt {b x^{2/3}+a x}}{a^2 \sqrt [3]{x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.34, size = 36, normalized size = 0.77
method | result | size |
derivativedivides | \(\frac {2 x^{\frac {1}{3}} \left (b +a \,x^{\frac {1}{3}}\right ) \left (a \,x^{\frac {1}{3}}-2 b \right )}{\sqrt {b \,x^{\frac {2}{3}}+a x}\, a^{2}}\) | \(36\) |
default | \(\frac {2 x^{\frac {1}{3}} \left (b +a \,x^{\frac {1}{3}}\right ) \left (a \,x^{\frac {1}{3}}-2 b \right )}{\sqrt {b \,x^{\frac {2}{3}}+a x}\, a^{2}}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 238 vs.
\(2 (37) = 74\).
time = 211.26, size = 238, normalized size = 5.06 \begin {gather*} \frac {{\left (50331648 \, b^{7} + 10485760 \, b^{6} + 49152 \, {\left (512 \, a^{3} - 3\right )} b^{4} - 983040 \, b^{5} + 256 \, {\left (24576 \, a^{3} + 53\right )} b^{3} + 11648 \, a^{3} - 96 \, {\left (2048 \, a^{3} + 1\right )} b^{2} - 3 \, {\left (155648 \, a^{3} + 3\right )} b\right )} x + 2 \, {\left ({\left (16777216 \, a b^{6} + 6291456 \, a b^{5} + 196608 \, a b^{4} - 262144 \, a^{4} - 114688 \, a b^{3} - 2304 \, a b^{2} + 864 \, a b - 27 \, a\right )} x - 2 \, {\left (16777216 \, b^{7} + 6291456 \, b^{6} + 196608 \, b^{5} - 114688 \, b^{4} - 2304 \, b^{3} - {\left (262144 \, a^{3} + 27\right )} b + 864 \, b^{2}\right )} x^{\frac {2}{3}}\right )} \sqrt {a x + b x^{\frac {2}{3}}}}{{\left (16777216 \, a^{2} b^{6} + 6291456 \, a^{2} b^{5} + 196608 \, a^{2} b^{4} - 262144 \, a^{5} - 114688 \, a^{2} b^{3} - 2304 \, a^{2} b^{2} + 864 \, a^{2} b - 27 \, a^{2}\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a x + b x^{\frac {2}{3}}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.22, size = 36, normalized size = 0.77 \begin {gather*} \frac {4 \, b^{\frac {3}{2}}}{a^{2}} + \frac {2 \, {\left ({\left (a x^{\frac {1}{3}} + b\right )}^{\frac {3}{2}} - 3 \, \sqrt {a x^{\frac {1}{3}} + b} b\right )}}{a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.22, size = 40, normalized size = 0.85 \begin {gather*} \frac {3\,x\,\sqrt {\frac {a\,x^{1/3}}{b}+1}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},2;\ 3;\ -\frac {a\,x^{1/3}}{b}\right )}{2\,\sqrt {a\,x+b\,x^{2/3}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________